package com.ktwlsoft.archivemanage.domain.dao.repository;

import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import com.ktwlsoft.archivemanage.domain.dao.entity.BusinessDic;

/**
 * business_dic--业务字段
 *
 * @author zhuhe on 2019-10-24 14:19:39
 * @version 1.0
 */
@Mapper
public interface IBusinessDicMapper {
	
	/**
	 * 查询列表 on 2019-10-24 14:19:39
	 * @param businessDic businessDic
	 * @return List<BusinessDic>
	 */
	List<BusinessDic> findList(BusinessDic businessDic);
	
	
	/**
	 * 根据id查询信息 on 2019-10-24 14:19:39
	 * @param id id
	 * @return BusinessDic
	 */
	BusinessDic getById(Long id);

	/**
	 * 根据值查询信息 on 2019-10-24 14:19:39
	 * @param businessDic	businessDic
	 * @return BusinessDic
	 */
	List<BusinessDic> getByDicValue(BusinessDic businessDic);
	
	/**
	 * 根据id删除信息 on 2019-10-24 14:19:39
	 * @param id id
	 * @return int
	 */
	int deleteById(Long id);
	
	/**
	 * 根据id集合批量删除信息 on 2019-10-24 14:19:39
	 * @param ids ids
	 * @return int
	 */
	int deleteByIds(List<Long> ids);
	


	/**
	 * 插入 on 2019-10-24 14:19:39
	 * @param businessDic businessDic
	 * @return int
	 */
    int insert(BusinessDic businessDic);

	/**
	 * 更新 on 2019-10-24 14:19:39
	 * @param businessDic businessDic
	 * @return int
	 */
    int update(BusinessDic businessDic);
}
